<?php  

/**
* 
*/
class PlaceholderPlugin
{
  protected $_places = array();
  public function getPlace($name){
    return isset($this->_places[$name]) ? $this->_places[$name] : '';
  }
  
  public function show($name){
    echo $this->getPlace($name);
  }
  
  public function setPlace($name,$value){
    $this->_places[$name] = $value;
  }
  
  public function __set($name,$value){
    $this->setPlace($name,$value);
  }
  
  public function __get($name){
    return $this->getPlace($name);
  }
}


?>